package payment

import (
    `injection/ch01_02_code_smells/circular_dependencies/config`
    `errors`
)

// 货币
// Currency is custom type for currency
type Currency string

// Processor processes payments 处理器进程支付
type Processor struct {
    Config *config.Config
}

// pay make a payment in the default currency 支付以默认货币支付
func (self *Processor) Pay(amount float64) error {
    // TODO: implement me
    return errors.New("未实现")

}
